package com.engine4cloud.tdf.education.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.engine4cloud.tdf.common.data.datascope.TdfBaseMapper;
import com.engine4cloud.tdf.education.dto.query.EduCourseQueryDTO;
import com.engine4cloud.tdf.education.dto.result.EduCourseResultDTO;
import com.engine4cloud.tdf.education.entity.EduCourseEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EduCourseMapper extends TdfBaseMapper<EduCourseEntity> {

    IPage<EduCourseResultDTO> pageList(Page<EduCourseEntity> page, @Param("dto") EduCourseQueryDTO dto);
}